{template 'common/header'}
{template 'common/slide'}
<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
	background-size:cover;
	background-color:#eeeeee;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#f5f5f5{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box,.box1{width:98%;overflow:hidden; margin: 4.5% 0 0 3%;}
	.box .box-item{float:left; text-align:center; display:block; color:#797979; text-decoration:none; overflow:hidden; outline:none; width:30.9%; margin:0 2% 5% 0; height:90px; line-height:90px; }
	.box .box-item i{display:block;width:50px;height:50px;line-height:50px;font-size:35px; vertical-align:middle; margin:10px auto;}
	.box .box-item img{display:block; height:70px; margin: 0 auto;}
	.box .box-item span{color:{$_W['styles']['fontnavcolor']}; display:block; width:94%; height:20px;; line-height:20px; overflow:hidden; margin:0 3%; font-weight:bold; text-align:center;}
	.box1>a{float:left; text-decoration:none; outline:none;}
	.box1>a:nth-child(1){ display:block; width:30%; height:90px; line-height:90px; margin:0 2% 2% 2.5%;background-color:#60c8b7;  text-align:center; color:#ffffff; float:left;}
	.box1>a i{display:block; width:100%; height:60px; line-height:60px; font-size:35px; text-align:center;}
	.box1>a:nth-child(2){display:block; width:63%; height:90px;  background-color:#B45075;  padding:0 10px; line-height:90px; color:#ffffff;}
	.box1>a span{color:{$_W['styles']['fontnavcolor']}; display:block; width:90%; height:30px; margin:0 5%; text-align:center; line-height:30px; overflow:hidden;}
</style>
<div class="box clearfix">
	{data func="site_navs" section="1" item="nav"}
	<a href="{$nav['url']}" class="box-item">
		{if !empty($nav['icon'])}
		<img src="{$_W['attachurl']}{$nav['icon']}">
		{else}
		<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
		{/if}
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</a>
	{/data}
</div>
<div class="box1">
	{data func="site_navs" section="2" item="row"}
	{$row['html']}
	{php if($row['iteration'] > 1) break;}
	{/data}
</div>
<div class="box clearfix">
	{data func="site_navs" section="3" item="nav"}
	<a href="{$nav['url']}" class="box-item">
		{if !empty($nav['icon'])}
		<img src="{$_W['attachurl']}{$nav['icon']}">
		{else}
		<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
		{/if}
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</a>
	{/data}
</div>
{template 'common/footer'}